package com.woniuxy.ptapp.service;

import com.woniuxy.commons.util.Result;
import com.woniuxy.ptapp.infra.model.ClassesOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.ptapp.infra.model.ClassesOrderInfo;
import com.woniuxy.ptapp.service.dto.ByClassesDto;

import java.util.List;

/**
 * <p>
 * 课程订单 服务类
 * </p>
 *
 * @author wangdong
 * @since 2022-07-30
 */
public interface ClassesOrderService extends IService<ClassesOrder> {

    void Orders(ByClassesDto byClassesDto);

    List<ClassesOrderInfo> showClassesOrder();

    void takeOrder(Integer id);

    void rejectionOrders(Integer id,String refuseReason);

    void finishClassesOreder(Integer id);

    void studentCancelOrder(Integer id);
}
